package com.ganzi.ganziserver.dao;

import com.ganzi.ganziserver.core.UserLog;
import com.ganzi.ganziserver.core.UserRoles;
import org.springframework.stereotype.Repository;

import java.math.BigInteger;
import java.util.List;

@Repository
public interface UserRolesDao {

    public UserRoles findUserRolesById(long id) throws Exception;
    public List<UserRoles> findUserRolesByUserId(long id) throws Exception;
    public List<UserRoles> findUserRolesByRolesId(long id) throws Exception;
    public void insertUserRoles(UserRoles Userroles) throws Exception;
    public void deleteUserRoles(long id) throws Exception;
    public void update(UserRoles Userroles) throws Exception;


}
